<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:template match="/">
		<infopost-request>
			<xsl:for-each select="ABCB2I">
				<request-head>
					<xsl:for-each select="Header">
						<trans-id>
							<xsl:value-of select="SerialNo" />
						</trans-id>
						<trans-date>
							<xsl:value-of select="TransDate" />
						</trans-date>
						<trans-time>
							<xsl:value-of select="TransTime" />
						</trans-time>
						<bank>203</bank>
						<insu-id>
							<xsl:value-of select="CorpNo" />
						</insu-id>
						<trans-type>202</trans-type>
						<area>
							<xsl:value-of select="ProvCode" />
						</area>
						<branch />
						<post>
							<xsl:value-of select="BranchNo" />
						</post>
						<agency-hand>
							<xsl:value-of select="Tlid" />
						</agency-hand>
						<authorized />
					</xsl:for-each>
				</request-head>
				<xsl:for-each select="App">
					<xsl:for-each select="Req">
						<request-roll-back>
							<old-trans-id>
								<xsl:value-of select="OrgSerialNo" />
							</old-trans-id>
							<print-code>
								<xsl:value-of select="TransCode" />
							</print-code>
							<org-trans-date>
								<xsl:value-of select="OrgTransDate" />
							</org-trans-date>
							<apply-code>
								<xsl:value-of select="PolicyNo" />
							</apply-code>
						</request-roll-back>
					</xsl:for-each>
				</xsl:for-each>
			</xsl:for-each>
		</infopost-request>
	</xsl:template>
</xsl:stylesheet>
